<%--
  Created by IntelliJ IDEA.
  User: hasee
  Date: 2018/12/28
  Time: 0:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>显示整个表</title>
    <link rel="stylesheet" href="/static/commons/layui/css/layui.css" media="all" />
</head>
<body id="area_list">
<%--查询和添加按钮--%>
<blockquote class="layui-elem-quote">
    <form action="" class="layui-form">
        <div class="layui-input-inline">
            <input type="search" placeholder="请输入区域名称" autocomplete="off" required lay-verify="required" name="search" class="layui-input">
        </div>
        <div class="layui-input-inline">
            <a class="layui-btn layui-icon layui-icon-search" lay-submit lay-filter="search">查询</a>
            <a class="layui-btn layui-btn-normal add_btn layui-icon layui-icon-add-1">添加区域</a>
        </div>
    </form>
</blockquote>
<%--用于显示区域信息的表格--%>
<table id="areaList" lay-filter="areaList"></table>
<%--编辑和删除按钮--%>
<script type="text/html" id="areaTool">
    <a class="layui-btn layui-btn-sm layui-btn-warm edit_btn layui-icon layui-icon-edit" lay-event="edit_btn" id="edit_btn">编辑</a>
    <a class="layui-btn layui-btn-sm layui-btn-danger del_btn layui-icon layui-icon-delete" lay-event="del_btn" id="del_btn">删除</a>
</script>
</body>
</html>
<%--引入操作该jsp的js文件--%>
<script type="text/javascript" src="/static/commons/layui/layui.js"></script>
<script type="text/javascript" src="/static/js/tenancy/area/areaList.js"></script>